package com.biz.primus.app.erpbridge.interceptor;

import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author yanweijin
 * @date 2017/11/3
 */
@Component
public class RepeatedRequestInterceptor extends BaseRequestInterceptor {

	public static final String REQUEST_ID_HEADER_NAME = "X-Request-ID";




	@Override
	public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
		String requestId = request.getHeader(REQUEST_ID_HEADER_NAME);
		//todo


		return true;
	}
}
